package com.InheritInterface;

/**
 * ClassName: FootBaller
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2024/9/10 0:22
 * @Version 17.0.2
 */
public class FootBaller extends Sportsman{
   private String name;

   public FootBaller(String name) {
       super();
       this.name = name;
   }
   public String getName() {
       return name;
   }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "FootBaller{" +
                "name='" + name + '\'' +
                '}';
    }
}
